package com.ruoyi.business.jizule.domain;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

public class Jc41Item implements Serializable {

    private Long id;

    private String sczbjcgX;

    private String sczbjcgY;

    private String sczbjcgH;


    private String jszh;

    @NotNull(message = "坐标及高程  X0不能为空")
    private Float dmyxsjzbjcgX0;
    @NotNull(message = "坐标及高程  Y0不能为空")
    private Float dmyxsjzbjcgY0;
    @NotNull(message = "坐标及高程  H0不能为空")
    private Float dmyxsjzbjcgH0;
    @NotNull(message = "计算实测半径不能为空")
    private Float jsscbj;
    @NotNull(message = "设计半径不能为空")
    private Float sjbj;
    @NotNull(message = "超欠值(mm)不能为空")
    private Integer cqz;
    private Date createtime;
    private Date updatetime;

    private Long jc41Id;


    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public String getSczbjcgX() {
        return sczbjcgX;
    }


    public void setSczbjcgX(String sczbjcgX) {
        this.sczbjcgX = sczbjcgX == null ? null : sczbjcgX.trim();
    }


    public String getSczbjcgY() {
        return sczbjcgY;
    }


    public void setSczbjcgY(String sczbjcgY) {
        this.sczbjcgY = sczbjcgY == null ? null : sczbjcgY.trim();
    }


    public String getSczbjcgH() {
        return sczbjcgH;
    }


    public void setSczbjcgH(String sczbjcgH) {
        this.sczbjcgH = sczbjcgH == null ? null : sczbjcgH.trim();
    }


    public String getJszh() {
        return jszh;
    }


    public void setJszh(String jszh) {
        this.jszh = jszh == null ? null : jszh.trim();
    }


    public Float getDmyxsjzbjcgX0() {
        return dmyxsjzbjcgX0;
    }


    public void setDmyxsjzbjcgX0(Float dmyxsjzbjcgX0) {
        this.dmyxsjzbjcgX0 = dmyxsjzbjcgX0;
    }


    public Float getDmyxsjzbjcgY0() {
        return dmyxsjzbjcgY0;
    }


    public void setDmyxsjzbjcgY0(Float dmyxsjzbjcgY0) {
        this.dmyxsjzbjcgY0 = dmyxsjzbjcgY0;
    }


    public Float getDmyxsjzbjcgH0() {
        return dmyxsjzbjcgH0;
    }


    public void setDmyxsjzbjcgH0(Float dmyxsjzbjcgH0) {
        this.dmyxsjzbjcgH0 = dmyxsjzbjcgH0;
    }


    public Float getJsscbj() {
        return jsscbj;
    }


    public void setJsscbj(Float jsscbj) {
        this.jsscbj = jsscbj;
    }


    public Float getSjbj() {
        return sjbj;
    }


    public void setSjbj(Float sjbj) {
        this.sjbj = sjbj;
    }


    public Integer getCqz() {
        return cqz;
    }


    public void setCqz(Integer cqz) {
        this.cqz = cqz;
    }


    public Long getJc41Id() {
        return jc41Id;
    }


    public void setJc41Id(Long jc41Id) {
        this.jc41Id = jc41Id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sczbjcgX=").append(sczbjcgX);
        sb.append(", sczbjcgY=").append(sczbjcgY);
        sb.append(", sczbjcgH=").append(sczbjcgH);
        sb.append(", jszh=").append(jszh);
        sb.append(", dmyxsjzbjcgX0=").append(dmyxsjzbjcgX0);
        sb.append(", dmyxsjzbjcgY0=").append(dmyxsjzbjcgY0);
        sb.append(", dmyxsjzbjcgH0=").append(dmyxsjzbjcgH0);
        sb.append(", jsscbj=").append(jsscbj);
        sb.append(", sjbj=").append(sjbj);
        sb.append(", cqz=").append(cqz);
        sb.append(", jc41Id=").append(jc41Id);
        sb.append(", createtime=").append(createtime);
        sb.append(", updatetime=").append(updatetime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Jc41Item other = (Jc41Item) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getSczbjcgX() == null ? other.getSczbjcgX() == null : this.getSczbjcgX().equals(other.getSczbjcgX()))
                && (this.getSczbjcgY() == null ? other.getSczbjcgY() == null : this.getSczbjcgY().equals(other.getSczbjcgY()))
                && (this.getSczbjcgH() == null ? other.getSczbjcgH() == null : this.getSczbjcgH().equals(other.getSczbjcgH()))
                && (this.getJszh() == null ? other.getJszh() == null : this.getJszh().equals(other.getJszh()))
                && (this.getDmyxsjzbjcgX0() == null ? other.getDmyxsjzbjcgX0() == null : this.getDmyxsjzbjcgX0().equals(other.getDmyxsjzbjcgX0()))
                && (this.getDmyxsjzbjcgY0() == null ? other.getDmyxsjzbjcgY0() == null : this.getDmyxsjzbjcgY0().equals(other.getDmyxsjzbjcgY0()))
                && (this.getDmyxsjzbjcgH0() == null ? other.getDmyxsjzbjcgH0() == null : this.getDmyxsjzbjcgH0().equals(other.getDmyxsjzbjcgH0()))
                && (this.getJsscbj() == null ? other.getJsscbj() == null : this.getJsscbj().equals(other.getJsscbj()))
                && (this.getSjbj() == null ? other.getSjbj() == null : this.getSjbj().equals(other.getSjbj()))
                && (this.getCqz() == null ? other.getCqz() == null : this.getCqz().equals(other.getCqz()))
                && (this.getJc41Id() == null ? other.getJc41Id() == null : this.getJc41Id().equals(other.getJc41Id()))
                && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
                && (this.getUpdatetime() == null ? other.getUpdatetime() == null : this.getUpdatetime().equals(other.getUpdatetime()));    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getSczbjcgX() == null) ? 0 : getSczbjcgX().hashCode());
        result = prime * result + ((getSczbjcgY() == null) ? 0 : getSczbjcgY().hashCode());
        result = prime * result + ((getSczbjcgH() == null) ? 0 : getSczbjcgH().hashCode());
        result = prime * result + ((getJszh() == null) ? 0 : getJszh().hashCode());
        result = prime * result + ((getDmyxsjzbjcgX0() == null) ? 0 : getDmyxsjzbjcgX0().hashCode());
        result = prime * result + ((getDmyxsjzbjcgY0() == null) ? 0 : getDmyxsjzbjcgY0().hashCode());
        result = prime * result + ((getDmyxsjzbjcgH0() == null) ? 0 : getDmyxsjzbjcgH0().hashCode());
        result = prime * result + ((getJsscbj() == null) ? 0 : getJsscbj().hashCode());
        result = prime * result + ((getSjbj() == null) ? 0 : getSjbj().hashCode());
        result = prime * result + ((getCqz() == null) ? 0 : getCqz().hashCode());
        result = prime * result + ((getJc41Id() == null) ? 0 : getJc41Id().hashCode());
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getUpdatetime() == null) ? 0 : getUpdatetime().hashCode());
        return result;
    }
}